<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Contract extends AppModel {

    public $actsAs = array('Logable' => array(
            'userModel' => 'User',
            'userKey' => 'user_id',
            'change' => 'full', // options are 'list' or 'full'
            'description_ids' => TRUE // options are TRUE or FALSE
            ));
    public $name = 'Contract';
    public $belongsTo = 'User';
    public $hasMany = array(
		'Account' => array(
			'className' => 'Account',
			'dependent' => true,
			
		),
                'Obligation' => array(
			'className' => 'Obligation',
			'dependent' => true,
			
		)
	);

}
